import { IForm, IFormItem } from '@/base-ui/form'

const formItems: IFormItem[] = [
  {
    field: 'name',
    type: 'input',
    label: '角色名',
    placeholder: '请输入角色名'
  },
  {
    field: 'intro',
    type: 'input',
    label: '角色简介',
    placeholder: '请输入角色简介'
  }
]

const labelWidth = '100px'
const itemStyle = { padding: '5px 30px' }
const colLayout = {
  span: 24
}

export const modalFormConfig: IForm = {
  formItems: formItems,
  labelWidth: labelWidth,
  itemStyle: itemStyle,
  colLayout: colLayout
}
